Component({
  mixins: [],
  data: {},
  props: {
    taskList: {
      type: Array,
      default: []
    }
  },
  didMount() {},
  didUpdate() {},
  didUnmount() {},
  methods: {
    turnLink(e) {
      console.log(e);
      const { link } = e.currentTarget.dataset.item

      my.redirectTo({
        url: `/pages/${link}/${link}`,
      });

    }
  },
});
